<script setup lang="ts" xmlns="">
import {ref} from 'vue'
import {TabsPaneContext} from "element-plus";
import AccountSetting from "@/views/user/info/modules/accountSetting/AccountSetting.vue";

const activeName = ref('first')

// 点击tab标签
const handleClick = (tab: TabsPaneContext, event: Event) => {
  console.log(tab, event)
}
</script>

<template>
  <el-main>
    <div class="in-main">
      <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
        <!-- 账号设置 -->
        <el-tab-pane label="账号设置" name="first">
          <account-setting/>
        </el-tab-pane>
      </el-tabs>
    </div>
  </el-main>
</template>

<style scoped lang="scss">
</style>
